package com.beiding.workordersystem.orders.product.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.beiding.workordersystem.common.dao.MPage;
import com.beiding.workordersystem.orders.product.entity.Product;
import com.beiding.workordersystem.orders.product.entity.ProductType;

import java.util.List;

public interface ProductService {
    ProductType treeType();

    void saveType(ProductType productType);

    void deleteType(String[] id);

    String save(Product copy);

    IPage page(MPage page, String typeId);

    void delete(String[] ids);

    Product findById(String id);

    List<Product> list();
}
